import Vue from "vue";
import  "@/assets/css/scrollbar.css";
import "./style/reset.css";
import "./style/common.css";
import install from "@/config/index";
Vue.use(install)
import App from "./App";
import router from "./router/index";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
Vue.config.productionTip = false;
import {MessageBox, Message} from "element-ui";
Vue.prototype.$warning = (message) =>
    Message({
        type: "warning",
        message,
    });
Vue.prototype.$confirm = MessageBox.confirm;
new Vue({
  el: "#app",
  render: (h) => h(App),
  router,
});
